Email notifications are dynamically constructed and sent at runtime using the specified Email Template in the Activity Properties toolbar. An activity can have more than one email related property. For example, an activity can have multiple email notifications related to the different stages of the activity. This allows different types of email notifications to be sent out during the different stages of an activity. The different types of email notifications include: Activity Entry Email, Activity Exit Email, Task Reassigned Email, Activity Timeout Email (e.g. the Manual with Timeout Activity only), and Reminder Email.
- Activity Entry Email
Email that is dynamically constructed and sent automatically to the participant(s) defined in the email template notifying them when the activity is entered.
- Activity Exit Email
Email that is dynamically constructed and sent automatically to the recipient(s) defined in the email template notifying them when the activity is exited.
- Task Reassigned Email
Email that is dynamically constructed and sent automatically to the participant(s) defined in the email template notifying them that the activity has been reassigned.
- Activity Timeout Email
(Available only for the Manual with Timeout activity) Email that is dynamically constructed and sent automatically to the participant(s) defined in the email template notifying them when the activity pasts its due date.
- Reminder Email
Email that is dynamically constructed and sent automatically to the recipient(s) defined in the email template reminding them of an activity to complete. The Reminder Email Notification can be configured to be sent at recurring intervals.
To create a new Activity Entry Email Notification:
To create a Reminder Email Notification:
To create an email template to support approvals:
Create an email template for the Activity Entry Email that participants will use to approve a request.
In the email body, include the following information. Note that the terms used in the email can follow the format approved/rejected, or yes/no.
{Approved [] = {Xpath-Node}=Value} - OR - {Yes [] = {Xpath-Node}=Value}
{Rejected [] = {Xpath-Node}=Value} - OR - {No[] = {Xpath-Node}=Value}
{Remarks[] = {Xpath-Node}}
Email Template Fields:
This section provides information and instructions about how to use the fields in the Email Template. The fields in the Email Template are used to specify what the participant(s) will see when the Email Notification is opened. In addition to manually typing in the value of a field, most of the fields in the Email Template allow you to also select from a list of process attributes to dynamically populate that field at runtime. To bring up the list of available process attributes, type ${ in the text box and select the process attribute for which you would like to use in that field. For example, you may want to select ${TaskParticipantUserName} in the “To” field of your Email Template. The “To” field will be populated with the user name of the task’s participant. For a list of available process attributes and their definitions, see Process Attributes.
Incoming and Reminding emails are sent separately for each participant, while Outgoing emails are sent per activity (regardless of number of participants). Therefore, if your email address is in the “To” or “CC” field of the email template associated with the Incoming email, you will get X number of copies of the email. If the entire list of (potential) participants is in the “To” or “CC” field, then all of the (potential) participants will receive X number of copies of the email. If you use the "${TaskParticipantUserName}" process attribute in the “To” field instead of specifying the entire list of participants in the “To” field, then for each participant, a separate email will be sent, and none of the participants will receive duplicate copies of the email. If you want to send a single email to all of the (potential) participants (instead of separate messages), you could use the Email AgileShape to send a single email, instead of associating your template with the Activity Entry Email property of a multi-participant manual activity.
Name
The Name field is used to display the name of an Email Template. The name specified should be meaningful to the process modeler.
From
The From field is used to specify what gets displayed in the From field of the Email Notification. This field supports the use of pre-defined process attributes. When a pre-defined process attribute is used, the “domain\username” will be converted automatically.
To
The To field is used to specify what gets displayed in the To field of the Email Notification. This field supports the use of pre-defined process attributes. When a pre-defined process attribute is used, the “domain\username” will be converted automatically. You can add multiple entries by separating them with a semicolon.
CC
The CC field is used to specify what gets displayed in the CC field of the Email Notification. This field supports the use of pre-defined process attributes. When a pre-defined process attribute is used, the “domain\username” will be converted automatically. You can add multiple entries by separating them with a semicolon.
Subject
The Subject field is used to specify what gets displayed in the Subject field of the Email Notification. This field supports the use of pre-defined process attributes.
Priority
The Priority field is used to specify the priority setting of the Email Notification. Valid values for this field include: Normal, High, and Low.
Format
The Format field is used to specify the format for which the content of the email will be displayed. Both HTML and plain text are supported formats for email. HTML is set as the default as part of the SMTP settings during the Server Configuration process. To send email in plain text format, select Text from the drop-down list.
NOTE: If you have chosen HTML as the format of the email, <br> tags are required for line breaks.
Left to Right/Right to Left
The Left to Right and Right to Left option buttons allow you to change the alignment for which text is inserted into the content section of the Email Template.
Content
The Content field is used to type the custom message to be displayed in the body of the Email Notification. This field supports the use of pre-defined process attributes.
The Email Templates Wizard includes a rich-text editor that creates HTML in the background without writing code.
Attachments
The Attachments field is used to specify any files that you would like to include in the Email Notification. To attach a file to the notification, type in the full path of the file
e.g., C:\My Documents\sample.doc.
You can also use a custom attribute to attach a file to the notification
e.g., ${AttachDoc} or ${HomeDirectory}\...
NOTE: The file that you would like to attach must reside on the local machine.